/**
 * 活动相关信息
 */
import {
  callApi
} from "./api.js"

async function queryAllActivity() {
  return callApi("activity", "queryAllActivity")
}

async function queryActivityByType(type) {
  return callApi("activity", "queryActivityByType", type)
}

export {
  queryAllActivity,
  queryActivityByType
}